LiteSpeed\Cloud D

Total Complexity 348
Dependencies 15
Dependents 15
Total lines 2,010
Lines of code 1,264
Logical lines of code 827
Comment lines 381
Methods 59
Properties 11

Methods 59

Method Rating Maintainability Complexity Lines of code
extract_msg()
D
30 34 105
detect_cloud()
C
35 26 77
_maybe_cloud()
B
35 22 85
_parse_response()
B
33 21 97
allowance()
A
46 16 37
handler()
A
45 13 46
_update_news()
A
50 13 26
_get_closest_nodes()
A
46 12 36
_load_qc_status_for_dash()
A
49 11 27
ping()
A
51 10 26
_post()
A
45 9 39
init_qc_cdn_cli()
A
48 8 36
finish_qc_activation()
A
48 8 30
is_from_cloud()
A
52 8 25
_get()
A
48 7 32
check_dev_version()
S
54 7 20
_get_ref_url()
S
58 7 16
init_qc()
S
48 5 35
init_qc_cli()
S
48 5 35
_load_server_pk()
S
50 5 28
update_qc_activation()
S
54 5 21
update_cdn_status()
S
54 5 20
wp_rest_echo()
S
55 5 18
_is_err_domain()
S
58 5 16
rest_err_domains()
S
60 5 13
_validate_signature()
S
58 4 15
version_check()
S
60 4 12
sync_usage()
S
61 4 12
clear_cloud()
S
62 4 12
_sign_b64()
S
57 3 17
news()
S
64 4 10
_parse_link()
S
62 4 10
ip_validate()
S
59 3 13
link_qc()
S
56 2 18
enable_cdn()
S
56 2 18
_update_ips()
S
57 2 16
__construct()
S
65 3 9
has_pkg()
S
69 3 6
service_hot()
S
64 3 10
reset_qc()
S
59 2 14
init_qc_prepare()
S
62 2 12
link_qc_cli()
S
62 2 12
api_link_call()
S
62 2 11
cdn_status_cli()
S
65 2 9
_maybe_queue()
S
71 2 6
activated()
S
77 2 3
_reset_qc_reg()
S
65 2 9
show_promo()
S
71 2 6
_clear_promo()
S
67 2 8
maybe_preview_banner()
S
72 2 5
load_qc_status_for_dash()
S
79 1 3
get()
S
75 1 4
qc_link()
S
66 1 8
post()
S
74 1 4
_reset_qc_reg_content()
S
69 1 6
_clear_reset_qc_reg_msg()
S
72 1 5
_remove_domain_from_err_list()
S
76 1 4
ok()
S
76 1 4
err()
S
68 1 7